package com.mfcxy.serviceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mfcxy.entity.Log;
import com.mfcxy.mapper.ILogMapper;
import com.mfcxy.service.ILogService;

/**
 * 日志 实现
 * @author mfcxy
 *
 */
@Service
public class LogService extends BaseService implements ILogService {
	
	@Autowired
	private ILogMapper logMapper;

	/**
	 * 新增日志
	 * @param log
	 * @return
	 */
	@Override
	public int logsave(Log log) {
		// TODO Auto-generated method stub
		return logMapper.save(log);
	}

}
